import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false
import { Pagination, Table, TableColumn, Dialog, Form, FormItem, DatePicker, TimePicker, TimeSelect, Slider, Switch, Cascader, Select, Option, InputNumber, Autocomplete, Input, CheckboxGroup, Checkbox, RadioGroup, RadioButton, Radio, Link, ButtonGroup, Header, Container, Row, Col, Button, MessageBox, Loading, Notification, Message } from 'element-ui'
Vue.use(Slider)
Vue.use(Pagination)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Dialog)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(DatePicker)
Vue.use(TimePicker)
Vue.use(TimeSelect)
Vue.use(Button)
Vue.use(Switch)
Vue.use(Cascader)
Vue.use(Option)
Vue.use(Select)
Vue.use(InputNumber)
Vue.use(Autocomplete)
Vue.use(Input)
Vue.use(CheckboxGroup)
Vue.use(Checkbox)
Vue.use(RadioButton)
Vue.use(RadioGroup)
Vue.use(Radio)
Vue.use(Link)
Vue.use(ButtonGroup)
Vue.use(Header)
Vue.use(Container)
Vue.use(Row)
Vue.use(Col)
Vue.prototype.$loading = Loading.service;
Vue.prototype.$msgbox = MessageBox;
Vue.prototype.$alert = MessageBox.alert;
Vue.prototype.$confirm = MessageBox.confirm;
Vue.prototype.$prompt = MessageBox.prompt;
Vue.prototype.$notify = Notification;
Vue.prototype.$message = Message;


new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')